<template>
  <div class="friend">
    <div class="item">
      <div class="item-content">
        <div class="img">
          <img
            src="https://img2.baidu.com/it/u=3899727677,1927270618&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500"
          />
        </div>
        <div class="motto">
          <p class="name">小甜</p>
          <div class="xian"></div>
          <p class="title">嘿爱就像一阵风</p>
        </div>
      </div>
      <button class="but">点击探究</button>
    </div>
    
  </div>
</template>
<script>
export default {
  name: "friend",
  data() {
    return {};
  },
};
</script>
<style scoped>
.friend {
  width: 33%;
  border-radius: 10px;
  overflow: hidden;
}
.item {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: linear-gradient(pink, skyblue);
}
.item-content {
    display: flex;
  justify-content: center;
  align-content: center;
}
img {
  width: 120px;
}
.img {
  display: flex;
  justify-content: center;
  align-content: center;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 50%;
  margin-right:5px ;
}
.motto{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name {

  text-align: left;
  font-size: 27px;
  color: rgb(80, 80, 80);
  font-weight: 600;
  margin-bottom: 10px;
}
.title{
width: 150px;
  font-size: 14px;
  color: rgb(80, 80, 80);
}
.xian{
    width: 100%;
    height: 2px;
    background: rgb(80, 80, 80);
}
.but{
    background: transparent;
    border: none;
    background: rgb(65, 131, 218);
    padding: 10px 30px;
    margin: 0 auto;
    display: block;
    margin-top:10px ;
    color: #fff;
    font-size: 17px;
}
</style>